package cn.edu.bit.lixin.blog.dao;

import java.util.List;

import cn.edu.bit.lixin.blog.entity.Blog;


public class BlogDAO extends BaseDAO {

	public List<Blog> findByName(String name){
		String hql = "from Blog where blogname=?";
		List<Blog> result = super.findByHQL(hql, name);
		return result;
	}
	
}
